﻿CREATE TABLE [stg].[InvoiceLine] (
    [InvoiceLineCode] INT             NOT NULL,
    [InvoiceCode]     INT             NOT NULL,
    [TrackCode]       INT             NOT NULL,
    [UnitPrice]       NUMERIC (10, 2) NOT NULL,
    [Quantity]        INT             NOT NULL,
    [TaskExecutionLogId] INT NOT NULL DEFAULT 0, 
    CONSTRAINT [PK_InvoiceLine] PRIMARY KEY CLUSTERED ([InvoiceLineCode] ASC)
);

